package rahcir;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;
import com.google.appengine.api.users.User;
import com.google.appengine.api.datastore.Text;
import com.google.appengine.api.datastore.Link;
import java.util.Date;
import java.util.List;

@PersistenceCapable(identityType = IdentityType.APPLICATION)

public class Assemble {
	   @PrimaryKey
	    @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	    private Long id;

	    @Persistent
	    private Date date;
	    
	    @Persistent
	    private List<Shop> shops;

		public Assemble(Date date, List<Shop> shops) {
			this.date = date;
			this.shops = shops;
		}
		public Long getId() {
	        return id;
	    }
		
		public Date getDate() {
			return date;
		}

		public void setDate(Date date) {
			this.date = date;
		}

		public List<Shop> getShops() {
			return shops;
		}

		public void setShops(List<Shop> shops) {
			this.shops = shops;
		}
	    
		
	    
	    
}
